#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author   : Uyynot
# @Email    : uyynot@qq.com
# @Time     : 2025/7/18 13:30
# @File     : f.py
# @Project  : demoProject
# @Desc     :
import boto3

session = boto3.session.Session()
sm_client = session.client(service_name='secretsmanager', region_name='cn-northwest-1')
print(sm_client)
master_user = sm_client.get_secret_value(SecretId='opensearch-host-url-vpc-084f6c26c4e817f5c')
print(master_user)